package com.igeek.model.insurance;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("recording")
@ApiModel(value="Recording对象", description="")
public class Recording implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @ExcelProperty(value = "出入账编号",index = 1)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;



    @ApiModelProperty(value = "月份")
    @ExcelProperty(value = "月份",index = 1)
    private Date month;


    @ApiModelProperty(value = "支出")
    @ExcelProperty(value = "支出",index = 2)
    private Double expenditure;

    @ApiModelProperty(value = "收入")
    @ExcelProperty(value = "收入",index = 3)
    private Double income;

}
